﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VM.Common.Result;
using VM.Entity.EntityDto.Goods;
using VM.Entity.EntityDto.Lunbo;
using VM.Entity.EntityMap.Goods;
using VM.Entity.EntityMap.ICon;
using VM.Entity.EntityMap.Lunbo;
using VM.Entity.EntityMap.Menu;
using VM.Entity.EntityMap.System.Code;

namespace VM.IDAL.Goods
{
    public interface IGoodsDAL
    {
        public bool addGoods(good_mainInfo obj);

        public List<getLunboListDto> getGoodsLunBoList(int lunBoTypeId);


        public PagingData<getGoodsListByTypeIdDto> getGoodsListByTypeId(int goodsTypeId, int pageIndex, int pageSize);
        public getGoodsInfoByIdDto getGoodsInfoById(int goodsId);
        public bool addGoodSpec(good_spec objRes);
    }
}
